package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.PublicGroupSeniorEntity;
import com.xbongbong.saas.domain.entity.PublicGroupSeniorSortEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lijiangren
 * 高级模式下公海池分组排序设置
 * @date 2022/4/14 9:27
 */

public interface PublicGroupSeniorSortModel extends IModel<PublicGroupSeniorEntity> {

    List<PublicGroupSeniorSortEntity> getListByFormIdAndCreatorId(String corpid, Long formId, String userId);

    void insertBatch(List<PublicGroupSeniorSortEntity> publicGroupSeniorSortEntityList);

    Integer updateBatch(List<PublicGroupSeniorSortEntity> list, String corpid);

    Integer updateBatchDel(List<PublicGroupSeniorSortEntity> list, String corpid);
}
